/**
 * 
 */
package com.shine.icis.blo;

import com.shine.cotrun.web.comm.ListPage;
import com.shine.icis.dao.param.SubmitLogQueryParameters;
import com.shine.icis.exception.ICISException;
import com.shine.icis.hbean.SubmitLog;
import com.shine.icis.hbean.SubmitReport;

/**
 * @author zsy
 *
 */
public interface ISubmitLogService {
	
	/**
	 * 通过id查找
	 * @param code
	 * @param type
	 * @return
	 */
	public SubmitLog getSubmitLogById(String id);
	
	/**
	 * 通过数据日期查找
	 * @param dataDate
	 * @return
	 */
	public ListPage<SubmitLog> getSubmitLogPage(SubmitLogQueryParameters qp);
	
	/**
	 * 通过报送日志查找报告
	 * @param logId
	 * @return
	 */
	public SubmitReport getSubmitReportBySubmitLogId(String logId);
	
	/**
	 * 压缩报送文件，返回ZIP文件相对路径
	 * @param logId
	 * @return
	 */
	public String csCompressSubmitFiles(String logId) throws ICISException;
}
